Skip to main content
POST
/
api
/
image
/
effects
/
image-style-migration
Style transfer
curl --request POST \
  --url https://www.ailabapi.com/api/image/effects/image-style-migration \
  --header 'Content-Type: multipart/form-data' \
  --header 'ailabapi-api-key: <api-key>' \
  --form style=@example-file \
  --form major=@example-file
{
  "request_id": "",
  "log_id": "",
  "error_code": 0,
  "error_code_str": "",
  "error_msg": "",
  "error_detail": {
    "status_code": 200,
    "code": "",
    "code_message": "",
    "message": ""
  },
  "data": {
    "url": "",
    "major_url": ""
  }
}

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data
style
file

style image.

major
file

Content image.

Response

200 - application/json

Success

The response is of type object.